<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.view.*" %>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta name="ROBOTS" content="NOINDEX"></meta>
	<title>Random Threads</title>
	<link rel="stylesheet"title="Conversation Board" type="text/css" href="${contextPath}/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>">
</head>

<body>

	<%= MainMenu.display(request.getUserPrincipal()) %>

	<div class="headingblock">
		<h1>Random Threads</h1>
	</div>

	<div class="mainblock">
		<div class="formsectionlight">
	
			<ul>
				<c:forEach var="thread" items="${randomThreads}">
					<li>
						<div class="thread"><a href="${contextPath}/ThreadSelectedControllerServlet?boardid=${thread.boardId}&threadid=${thread.threadId}">${thread.title}</a> (<a href="${contextPath}/NewAnswersControllerServlet?boardid=${thread.boardId}">${thread.boardName}</a>)</div>
					</li>
				</c:forEach>
			</ul>
	
			<a href="${contextPath}/RandomThreadsControllerServlet">More Random Threads...</a>
		</div>
	</div>
	
	
	<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
	<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 

</body>
</html>
